package com.yuyou.fn.wx.controller;

import com.yuyou.fn.wx.service.IWeixinService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

@Controller
@RequestMapping("/teacher")
public class TeacherMpPortController extends WxMpPortalController{

    @Resource(name = "teacherWeixinService")
    private IWeixinService weixinService;

    @Override
    IWeixinService getWeixinService() {
        return weixinService;
    }

    @Override
    String getRouterPrefix() {
        return "/teacher";
    }
}
